App

@Composable
fun App(onMainApplicationClose: () -> Unit = {}, onMainApplicationMinimize: () -> Unit = {})

This is the main application layout. It sets up the socket connection, fetches devices and applications, and sets up the main layout.

Parameters

onMainApplicationClose

A function to be called when the main application close request is triggered.

onMainApplicationMinimize

A function to be called when the main application minimize request is triggered.

  • Example usage:

App(
onMainApplicationClose = { /* action to perform on main application close request */},
onMainApplicationMinimize = { /* action to perform on main application minimize request */}
)